
Student::Student(): Name("noname"), SchoolNumber(0){}

Student::Student(const Student &pt): Name(pt.Name), SchoolNumber(pt.SchoolNumber), BirthDay(pt.BirthDay), Term_list(pt.Term_list){}

Student::Student(std::string name, int schoolnumber, Date day): Name(name), SchoolNumber(schoolnumber), BirthDay(day){}

void Student::init(std::string name, int schoolnumber, Date day)
{
	Name = name;
	SchoolNumber = schoolnumber;
	BirthDay = day;

	return ;
}

std::string Student::get_name() const { return Name; }

int Student::get_schoolnumber() const { return SchoolNumber; }

Date Student::get_birthday() const { return BirthDay; }

void Student::push_back(const Term pt)
{
	Term_list.push_back(pt);

	return ;
}

Term& Student::operator[](int pt)
{
	return Term_list[pt];
}
